<?php
	require_once 'classes/Config.class.php';
	require_once 'classes/Database.class.php';
	require_once 'classes/Processor.class.php';
	require_once '../Semantic/Semantic.php';
	
	$Config = new Config();
	$Processor = new Processor();
	
	echo 'Processing...', "\n";
	
	while (true) {
		$Processor -> process();
		sleep($Config -> Root['Processor']['PollTime']);
	}
?>